@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>报警日志管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="name" name="名称" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="cardNo" name="卡号" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="status" name="开门状态" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="doorNumber" name="门号" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="inOrGo" name="进出" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="beginTime" name="起始时间" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="endTime" name="终止时间" />
                            </div>
                            <div class="col-sm-2">
                                <#button name="搜索" icon="fa-search" clickFun="DoorAlarmRecord.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="DoorAlarmRecordTableToolbar" role="group">

                            @if(shiro.hasPermission("/doorAlarmRecord/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="DoorAlarmRecord.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/record/update")){
                            <#button name="一键清空" icon="fa-edit" clickFun="DoorAlarmRecord.deleteAll()" space="true"/>
                            @}

                            <#button name="下载 " icon="fa-edit" clickFun="DoorAlarmRecord.download()" space="true"/>
                        </div>
                        <#table id="DoorAlarmRecordTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/alarm/doorAlarmRecord/doorAlarmRecord.js"></script>
<script>
    laydate.render({
        elem: '#beginTime',
        type: 'datetime'
    });
    laydate.render({
        elem: '#endTime',
        type: 'datetime'
    });
</script>
@}
